package com.jsbb.vo.tool;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 数据库表列表VO
 *
 * @author w
 * @date 2021-03-05
 */
@Data
public class TableListVo {

    @ApiModelProperty(value = "表名")
    private String tableName;

    @ApiModelProperty(value = "备注")
    private String tableComment;

    @ApiModelProperty(value = "字段数量")
    private Integer columnSize;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty(value = "字段列表")
    private List<ColumnListVo> columnList;
}
